package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 马迎迎
 * @Title: CartFeignService
 * @Package com.atguigu.gulimall.order.feign
 * @Description: TODO(添加描述)
 * @date 2021年05月29日 15:00
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    @GetMapping("/currentUserCartItems")
    List<OrderItemVO> getCurrentUserCartItems();
}
